package com.freight.tws.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.freight.common.core.annotation.Excel;
import com.freight.common.core.web.domain.MyPlusEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 发票收件管理对象 tws_address
 * 
 * @author wjx
 * @date 2023-02-22
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("tws_address")
public class TwsAddress extends MyPlusEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** 收件人 */
    @Excel(name = "收件人")
    private String addressee;

    /** 收件地址 */
    @Excel(name = "收件地址")
    private String address;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 是否常用0否1是 */
    @Excel(name = "是否常用0否1是")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long isCommon;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String tenantId;


}
